package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 byw_places
 * 
 * @author ruoyi
 * @date 2024-05-29
 */
public class BywPlaces extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /**  */
    @Excel(name = "")
    private Integer parentId;

    /**  */
    @Excel(name = "")
    private String cname;

    /**  */
    @Excel(name = "")
    private Integer ctype;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setParentId(Integer parentId) 
    {
        this.parentId = parentId;
    }

    public Integer getParentId() 
    {
        return parentId;
    }
    public void setCname(String cname) 
    {
        this.cname = cname;
    }

    public String getCname() 
    {
        return cname;
    }
    public void setCtype(Integer ctype) 
    {
        this.ctype = ctype;
    }

    public Integer getCtype() 
    {
        return ctype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("cname", getCname())
            .append("ctype", getCtype())
            .toString();
    }
}
